<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
    <link rel="stylesheet" href="__ADMIN__/css/admin.css">
    <script src="__ADMIN__/js/jquery.js"></script>
    <script src="__ADMIN__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加友情链接</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="{:url('admin/link/add')}" enctype="multipart/form-data">
            <div class="form-group">
                <div class="label">
                    <label>链接名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="name" data-validate="required:请输入链接名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>链接地址：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="link" data-validate="required:请输入链接地址" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接排序：</label>
                </div>
                <div class="field">
                    <input type="number" class="input w50" name="order" />
                    <div class="tips"><span style="line-height:40px;padding-left:10px;color:#777;">此处添加一个数字作为排序标记</span></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接状态：</label>
                </div>
                <div class="field" style="padding-top:8px;">
                    
                    <select name="status">
                        <option value="0">请选择</option>
                        <option value="1">首页信息公开应用</option>
                        <option value="2">首页信息公开禁用</option>
                        <option value="3">便民服务链接应用</option>
                        <option value="4">便民服务链接禁用</option>
                        <option value="5">互动查询链接应用</option>
                        <option value="6">互动查询链接禁用</option>
                        option
                    </select>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接图片：</label>
                </div>
                <div class="field">
                    <input type="file" id="url1" name="img" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
                    <!--<input type="button" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">-->
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>